package CompositePattern;

public class CompositePatternTest {
    public static void main(String[] args) {
        Employee CEO = new Employee("liu","CEO",3000);
        Employee manager = new Employee("yun", "HR", 2000);
        Employee officer = new Employee("feng","HR",1000);

        CEO.add(manager);
        manager.add(officer);

    }
}
